package com.gaobug.platform.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @TableName t_comment_info
 */
@Getter
@Setter
@ToString
@TableName(value = "t_comment_info")
public class CommentInfo implements Serializable {
    /**
     * 主键标识
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户标识
     */
    private Long userId;

    /**
     * 回复评论关联标识
     */
    private Long linkId;

    /**
     * 顶级评论标识
     */
    private Long topId;

    /**
     * 文章标识
     */
    private Long articleId;

    /**
     * 评论内容
     */
    private String context;

    /**
     * 点赞数
     */
    private Long likeCount;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 删除标识
     */
    private Boolean delFlag;

    private static final long serialVersionUID = 1L;
}